#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "workspace.h"
#include <QMainWindow>
#include <QDebug>
#include <QSerialPort>
#include <QSerialPortInfo>

#include "serialview.h"
#include "saveloadsettings.h"
#include "testthread.h"
#include "flashview.h"
#include "configwindow.h"
#include "videoview.h"

namespace Ui {
class MainWindow;
}



class MainWindow : public QMainWindow
{
    Q_OBJECT

private:
    ConfigWindow *cw;
    FlashView flashView;
    GLParse glParse;
    SerialView serialView;
    SaveLoadSettings saveLoadSettings;
    VideoView videoView;
    void showStatus(QString str);
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_action_config_triggered();
private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H
